package com.every.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.time.LocalDateTime;

/**
 * @description: 微信推送消息记录
 * @author: yh
 * @date: 2022/11/9
 */
@Data
@EqualsAndHashCode(callSuper = false)
public class WechatMessage {

    /**
     * 记录id
     */
    @TableId(value = "message_id", type = IdType.AUTO)
    private Long messageId;

    /**
     * 添加时间
     */
    private LocalDateTime createTime;

    /**
     * 模板id
     */
    private String templateId;

    /**
     * 发送目标openid
     */
    private String openId;

    /**
     * 发送内容
     */
    private String content;

    /**
     * 是否发送成功 0未成功 1成功
     */
    private Boolean state;
}
